Remove no-commit-to-branch hook from pre-commit config - #249
Conversation
Cyclomatic Complexity CheckL 97 (C 22-41): The McCabe cyclomatic complexity of 'initialiseSensorData' is 19. L 67 (C 41-64): The McCabe cyclomatic complexity of 'get.sourceFieldMagnitude' is 1. L 170 (C 24-41): The McCabe cyclomatic complexity of 'FourierCollocation' is 1. L 158 (C 24-32): The McCabe cyclomatic complexity of 'GridInput' is 2. L 119 (C 24-29): The McCabe cyclomatic complexity of 'Logger' is 1. L 87 (C 24-29): The McCabe cyclomatic complexity of 'Solver' is 5. L 119 (C 24-36): The McCabe cyclomatic complexity of 'ThermalSolver' is 3. L 82 (C 24-39): The McCabe cyclomatic complexity of 'TimeDomainSolver' is 1. |
|
The author of this PR, stellaprins, is not an activated member of this organization on Codecov. |
bencox
left a comment
There was a problem hiding this comment.
Looks as though it's working as expected (at least on the PR I just submitted).
* Update README.md * Update CONTRIBUTING.md I've changed this quite a bit to lower both the apparent and actual barriers to getting users started on contributing. I've slightly relaxed the requirements for very small contributions, while maintaining them for significant contributions. * Update README.md minor URL update * Update CONTRIBUTING.md Tiny change to a title * Update README.md Added instructions on how to install matlab and create the documentation. * Update README.md Minor re-wording and rearrangements. * Update CONTRIBUTING.md Link update. * Update codingStandard.md Minor typo * Update CONTRIBUTING.md typo * Update developerIntroduction.md Few minor changes. * Update maintainerDocs.md Small changes, as we will allow PRs into develop for minor fixes. Not everything tiny change must rigidly go through a feature branch. * Update README.md Updated minimum requirements date * Update docs/CONTRIBUTING.md Co-authored-by: Stella Prins <30465823+stellaprins@users.noreply.github.com> * Update docs/README.md Co-authored-by: Stella Prins <30465823+stellaprins@users.noreply.github.com> * Update CONTRIBUTING.md Minor changes following Stella's comments. * Update docs/developerIntroduction.md Co-authored-by: Stella Prins <30465823+stellaprins@users.noreply.github.com> * Update CONTRIBUTING.md Added a bit more description on conda. * Update CONTRIBUTING.md minor changes * Update CONTRIBUTING.md Small changes to pre-commit description. * pre-commit changes * Remove no-commit-to-branch hook from pre-commit config (#249) (#251) * Remove no-commit-to-branch hook from pre-commit config * Remove push trigger from pre-commit workflow Co-authored-by: Stella Prins <30465823+stellaprins@users.noreply.github.com> * Update docs/CONTRIBUTING.md Co-authored-by: Stella Prins <30465823+stellaprins@users.noreply.github.com> * Updated README.md again, minor tweaks. * changed BUG website address to github as UCL website is broken at the moment. * Small updates to CONTRIBUTING.md * small update to CONTRIBUTING.md * pre-commit whitespace changes * Quite significant re-ordering of CONTRIBUTING.md to make it easier for beginners * pre-commit whitespace changes --------- Co-authored-by: Stella Prins <30465823+stellaprins@users.noreply.github.com>
Summary
CI still failing after merging of #247.
GitHub’s branch protection already blocks direct pushes to
mainanddevelop, so the hook is unnecessary and only creates these false failures. Pre‑commit CI on PRs provides the needed checks.This PR
no-commit-to-branchpre‑commit hookTesting
Verified pre‑commit runs successfully on a test PR branch
After this PR has been merged I will:
mainanddevelopRelated Issues
Contributor Agreement
CONTRIBUTING.md, and I agree that my contributions may be redistributed under the k-Wave-II open-source license.Peer Review
Review summary (complete before merge):